package com.lingnan.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

// 添加HR请求DTO
@Data
public class AddHrRequest {
    @NotNull(message = "企业ID不能为空")
    private Long companyId;
    
    @NotBlank(message = "HR姓名不能为空")
    private String name;
    
    private String position;
    
    @NotBlank(message = "联系邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    private String contactEmail;
    
    @NotBlank(message = "联系电话不能为空")
    private String contactPhone;
    
    @NotBlank(message = "密码不能为空")
    private String password;
}